package com.wiserun;




import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableTransactionManagement(proxyTargetClass = true)
@MapperScan(value = {"com.wiserun.*"})
@EnableSwagger2
@SpringBootApplication
@ComponentScan(basePackages = {"com.wiserun.*"})
@EnableScheduling // 开启定时任务
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(com.wiserun.Application.class, args);
	}
	
	
}